<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型-border</title>
    <style>
        div {
            width: 300px;
            height: 200px;
            /* border-width: 5px; */
            /* border-style: solid; */
            /* border-style: dashed; */
            /* border-style: dotted; */
            border-top: 3px solid red;
            border-bottom: 5px dotted blue;
            border-left: 6px dashed purple;
            border-right: 5px solid gray;
        }
    </style>
</head>

<body>
    <div></div>
</body>

</html>